<html>
	<head>
	</head>
	<body>
		<div>
			<p>Text goes here <span id="cord"></span></p>
		</div>
		<script>
		if (document.getElementById){
     		objXml = new XMLHttpRequest();
    		objXml.open("GET","id1",false);
     		//objXml.send(null);
     		document.getElementById('cord').innerHTML = objXml.responseText;
		}
		</script>
	</body>
</html>